package com.ruoyi.project.syl_Sxl.service.impl;

import com.ruoyi.project.syl_Sxl.domain.HisUser;
import com.ruoyi.project.syl_Sxl.mapper.HisUserMapper;
import com.ruoyi.project.syl_Sxl.service.IHisUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HisUserServiceImpl implements IHisUserService {
    @Autowired
    private HisUserMapper hisUserMapper;
    @Override
    public List<HisUser> selectAll(HisUser hisUser) {
        List<HisUser> list = hisUserMapper.selectAll(hisUser);
        return list;
    }

    @Override
    public int insert(HisUser hisUser) {
        return hisUserMapper.insert(hisUser);
    }

    @Override
    public int deleteByIds(Long[] ids) {
        return hisUserMapper.deleteByIds(ids);
    }
}
